package com.atguigu.springcloud.order.lb;

import org.springframework.cloud.client.ServiceInstance;

import java.util.List;

/**
 * @author lenovo
 * @version 1.0
 * @date 2020/11/17 10:44
 */
public interface LoadBalancer {

    /**
     * 服务的实例
     *
     * @param serviceInstances
     * @return
     */
    ServiceInstance serviceInstance (List<ServiceInstance> serviceInstances);
}
